package com.fzu.normalservice.service;

import com.fzu.commonutil.entity.Image;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyq
 * @since 2023-03-26
 */
public interface ImageService extends IService<Image> {

    /**
     * 添加或更新图片关联关系
     * @param housekeeperId
     * @param imageUrlList
     */
    void operateHouseKeeperImage(Integer housekeeperId, List<String> imageUrlList);


    /**
     * 获取家政员图片
     * @param superId
     * @return
     */
    List<String> listByHouseKeeperId(Integer superId);

    /**
     * 获取服务类型图片
     * @param serviceTypeId
     * @return
     */
    String getServiceTypeUrl(Integer serviceTypeId);
}
